class React {
  int height = 10;
  int width = 20;
  React(this.height, this.width);

  get area {
    return this.height * this.width;
  }

  set areaHeight(height){
    this.height = height;
  }
}


// React react = new React(30, 50);
// print(react.area);
// react.areaHeight(30);
